package com.test.springmvc;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
@RequestMapping("/springmvc")
public class Login {
    @RequestMapping(value = "/login",method = RequestMethod.GET)
    public String login(String username,String pwd){
        System.out.println(username + "======>" + pwd);
        return "login";
    }

    @RequestMapping(value = "/*/createUser")
    public String ttt(){
        System.out.println("************************");
        return "login";
    }


}
